package cn.xiaohuodui.service;

import cn.xiaohuodui.dao.CategoryAttributeGroupMapper;
import cn.xiaohuodui.model.CategoryAttributeGroup;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by TR on 2018/4/3.
 */
@Service
public class CateAttGroupService {

    @Autowired
    CategoryAttributeGroupMapper categoryAttributeGroupMapper;


    public List<CategoryAttributeGroup> getByCategoryId(Integer id){
        return categoryAttributeGroupMapper.getByCateId(id);
    }

}
